package com.share.device.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.share.device.domain.Area;
import com.share.device.mapper.AreaMapper;
import com.share.device.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements AreaService {
    @Autowired
    private AreaMapper areaMapper;
    @Override
    public List<Area> list(Area area) {
        List<Area>areas = areaMapper.list(area);
        return areas;
    }

}
